.page {
  background: #fff;
  border-radius: 6px;
  padding: 0 16px;
  overflow: hidden;
}
.title {
  font-size: 20px;
  font-family: PingFang SC-Medium, PingFang SC;
  font-weight: bold;
  color: #000000;
  margin: 24px 0;
}
.base_info {
  display: flex;
  flex-wrap: wrap;
  .el-form-item {
    flex: 0 0 50%;
  }
}
.show_tips {
  display: flex;
  line-height: 1.8;
  margin: 10px 0;
  .name {
    flex-shrink: 0;
  }
  .txt {
    flex: 1;
    .cred {
      color: #f00;
    }
  }
}
.upload_image_box {
  display: flex;
  .image_list {
    display: flex;
    flex-wrap: wrap;
    .image_cell {
      position: relative;
      width: 148px;
      height: 148px;
      border: 1px dashed #d8d8d8;
      border-radius: 4px;
      padding: 2px;
      box-sizing: border-box;
      .icon_list {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        z-index: 3;
        i {
          font-size: 24px;
          color: #fff;
          margin: 0 10px;
          cursor: pointer;
        }
      }
      .el_image {
        width: 100%;
        height: 100%;
        border-radius: 4px;
      }
      .blk {
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        background: #000;
        opacity: 0.4;
        z-index: 2;
      }
    }
    .image_cell:hover {
      .icon_list {
        display: block;
      }
      .blk {
        display: block;
      }
    }
  }
}
.drag_box {
  position: relative;
  //height: 427px;
  background: #fff;
  border: 1px solid rgba(226, 227, 229, 1);
  border-radius: 4px;
  padding: 60px 2px;
  box-sizing: border-box;
  min-height: 490px;
  .image_cell {
    position: relative;
    height: 490px;
    width: 1030px;
    // width: 100%;
    text-align: center;
    margin: 0 auto;
    .el_image {
      height: 100%;
      width: 100%;
    }
    .icon_delete {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 4;
      font-size: 30px;
      color: #f00;
      cursor: pointer;
    }
  }
  .drag_cell {
    .left_line {
      position: absolute;
      width: 1px;
      // top: 0;
      // bottom: 0;
      // left: 0;
      background: #f00;
      z-index: 1;
    }
    .top_line {
      position: absolute;
      height: 1px;
      // top: 0;
      // left: 0;
      background: #f00;
      width: 30px;
      z-index: 1;
    }
    .desc {
      position: absolute;
      font-size: 14px;
      font-weight: normal;
      //   height: 30px;
      //   line-height: 30px;
      // left: 30px;
      // top: -15px;
      //   transform: translateX(-50%);
      margin: 0;
      padding: 10px;
      //background: #fff;
      z-index: 2;
      width: 100%;
      color: #f00;
      display: flex;
    }
  }

  // 左上
  .drag_cell_left_top {
    .left_line {
      right: 0;
      top: 0;
      bottom:0
    }
    .top_line {
      top: 0;
      right:0;
    }
    .desc {
      top: -15px;
      right: 30px;
      text-align: right;
      justify-content: flex-end;
    }
  }

  // 右上
  .drag_cell_right_top{
    .top_line {
      top: 0;
      left: 0;
    }
    .left_line{
      left:0;
      top:0;
      bottom:0;
    }
    .desc{
      top:-15px;
      left:30px;
    }
  }

  // 右下
  .drag_cell_right_bottom {
    bottom: 0;
    .top_line {
      top: auto;
      bottom: 0;
    }
    .left_line {
      left: 0;
      top: 0;
      bottom: 0;
    }
    .desc {
      left: 30px;
      bottom: -15px;
    }
  }

  //左下
  .drag_cell_left_bottom {
    bottom: 0;
    .top_line {
      bottom: 0;
      right: 0;
    }
    .left_line {
      right: 0;
      top: 0;
      bottom: 0;
    }
    .desc {
      bottom: -15px;
      right: 30px;
      text-align: right;
      justify-content: flex-end;
    }
  }
}

.teeth_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;
  .cell_box {
    position: relative;
    // flex: 0 0 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    // padding: 10px;
    box-sizing: border-box;
    text-align: center;
    .cell {
      width: 40px;
      margin: 0 4px;
      cursor: pointer;
      img {
        width: 100%;
      }
    }
    .name {
      color: rgba(50, 50, 51, 1);
      font-size: 12px;
      line-height: 2;
    }
  }
  .cell_box:first-child:before {
    position: absolute;
    display: block;
    content: '';
    width: 2px;
    background: rgba(50, 50, 51, 1);
    top: 15px;
    right: 0;
    bottom: -9px;
  }
}
.bottom_box {
  .cell_box {
    align-items: flex-start;
  }
  .cell_box:after {
    position: absolute;
    display: block;
    content: '';
    height: 2px;
    background: rgba(50, 50, 51, 1);
    top: -6px;
    left: 0;
    right: 0;
  }
  .cell_box:first-child:before {
    position: absolute;
    display: block;
    content: '';
    width: 2px;
    background: rgba(50, 50, 51, 1);
    top: -9px;
    right: 0;
    bottom: 15px;
  }
}
.cred {
  color: #f00;
}
.score_box {
  display: flex;
  .btn {
    margin-left: 10px;
  }
}

.el_check_group {
  display: flex;
  flex-direction: column;
  .el-checkbox {
    margin: 5px 0;
  }
  ::v-deep .el-checkbox__label {
    color: #fff;
    font-weight: normal;
    font-size: 12px;
  }
}

.drag_upload {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  .upload_text {
    span {
      margin: 0 10px;
    }
  }
}

.total_box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: #666;
  .total_cell {
    margin-right: 10px;
  }
  .sort_input {
    width: 60px;
    margin: 0 8px;
  }
}
